package com.langyiquan.front.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Api(value = "websocket", tags = {"websocket相关接口"})
@Controller
public class WebSocketController {

    @ApiOperation(value = "测试websocket",notes = "测试websocket",httpMethod = "GET")
    @GetMapping("/ws")
    public String ws() {
        return "ws";
    }

}
